/**
 * Created by wangjian on 2017/10/17.
 */

var issueUser = [{name: "卖家"}, {name: "PDM"}, {name: "仓库工人"}];
var tagGroup = [{name: "分组1"}, {name: "分组2"}, {name: "分组3"}];

var cLevel = [
    {name: "一级", level: 1},
    {name: "二级", level: 2},
    {name: "三级", level: 3},
    {name: "四级", level: 4},
    {name: "五级", level: 5}
];

var cStatus = [
    {key: "INHAND", name: "新建"},
    {key: "COMPLETE", name: "已完成"}
];

//任务状态（planTask）
var config_taskStatus = [
    {name: "新建", key: "NEW"},
    {name: "取消", key: "cancel"},
    {name: "已完成", key: "complete"},
    {name: "进展中", key: "ing"}
];

var fondness_url = ["app.req.list", "app.issue.list", "app.plan.list"];

var taskTypes = [
    {key: "0", value: "讨论会"},
    {key: "1", value: "界面设计"},
    {key: "2", value: "界面实现"},
    {
        key: "3",
        value: "服务设计"
    },
    {key: "4", value: "服务实现"},
    {key: "5", value: "测试设计"},
    {key: "6", value: "实施测试"}
];

var config_plan_role = [
    {key: "member", name: "成员"},
    {key: "pdm", name: "PDM"},
    {key: "pm", name: "项目负责人"}
];

var config_pdmNeedTypes = [
  {
    value: "新增功能",
    key: "ADDFEATURE"
  },
  {
    value: "功能改进",
    key: "UPDATEFEATURE"
  },
  {
    value: "提升体验",
    key: "EXPERIENCE"
  },
  {
    value: "BUG修复",
    key: "BUGREPAIR"
  }
];

var config_flow_legend_type = [
    {key: "FEATURE", value: "功能点", crtname: "功能点"},
    {key: "ONLINE_DESCRIBE", value: "线上描述", crtname: "线上描述"},
    {key: "OFFLINE_DESCRIBE", value: "线下描述", crtname: "线下描述"}
];
var config_need_sources = [
    {key: "CUSTOMER", value: "客户需求", crtname: "客户需求"},
    {key: "DEPARTMENTS", value: "部门", crtname: "部门"},
    {key: "WORKERORDER", value: "helpdesk工单", crtname: "helpdesk工单"}
];
var config_need_departments = [
    {crtname: "商务中心", type: "COMMERCIAL"},
    {crtname: "运营中心", type: "OPERATION"},
    {crtname: "研发中心", type: "R&D"},
]
var config_flow_legend_sys = [
    {key: "TOM", value: "TOM", crtname: "TOM"},
    {key: "SELLERPORTAL", value: "SELLERPORTAL", crtname: "SELLERPORTAL"},
    {key: "MATRIX", value: "MATRIX", crtname: "MATRIX"},
    {key: "WHO", value: "WHO", crtname: "WHO"}
];

var config_flow_node_status = [
    {key: "ADD", crtname: "新建"},
    {key: "UPDATE", crtname: "修改"},
    {key: "ONLINE", crtname: "保持"}
];

var config_remark_type = [
    {key: "0", value: "多语言翻译"},
    {key: "1", value: "产品配置"},
    {
        key: "2",
        value: "仓库配置"
    },
    {key: "3", value: "停机要求"}
];

var config_need_status = [
    {key: "NO_ACCEPT", value: "提出", color: "grey", tabDesc: '待评审',index:1},
    {key: "DEPARTMENT_REVIEW", value: "部门评审", color: "#0097a7", tabDesc: '待受理',index:2},
    {key: "ACCEPT", value: "需求受理", color: "#0097a7", tabDesc: '待确认',index:3},
    {key: "CONFIRM", value: "需求确认", color: "#0097a7", tabDesc: '已确认',index:4},
    {key: "PRODUCT_DESIGN", value: "产品设计", color: "#0097a7", tabDesc: '设计中',index:5},
    {key: "FALLBACK", value: "回退", color: "red", tabDesc: '已回退',index:6},
    {key: "DEVING", value: "研发", color: "#64dd17", tabDesc: '研发中',index:7},
    {key: "INTEGRATIONING", value: "集成测试", color: "#64dd17", tabDesc: '测试中',index:8},
    {key: "LATED", value: "延期", color: "#311b92", tabDesc: '已延期',index:9},
    {key: "ONLINE", value: "上线等待评价", color: "#fff176", tabDesc: '待评价',index:10},
    {key: "CLOSED", value: "结束", color: "grey", tabDesc: '已结束',index:11}
    ]

var config_issue_status = [
    {key: "INHAND", value: "新建", color: "grey"},
    {key: "PRD", value: "产品设计", color: "#0097a7"},
    {key: "ISSUE_DEV", value: "立项开发", color: "#64dd17"},
    {key: "INTEGRATIONING", value: "集成测试", color: "#64dd17"},
    {key: "COMPLETE", value: "上线", color: "#fff176"},
];

var config_project_plan = [
    {key: "NEW", value: "新建", color: "grey"},
    {key: "PLAN_DEVELOPING", value: "开发中", color: "#00e53b"},
    {key: "INTEGRATIONING", value: "集成中", color: "#61e0dc"},
    {key: "COMPLETED", value: "已完成", color: "#f29cf1"}
];

var config_need_return = [
    {value: "需求描述不清楚", key: "UNCLEAR"},
    {value: "已上线的功能", key: "ONLINE"},
    {value: "需要其他部门协助处理的需求(产品需求或BI需求)", key: "OTHER"},
    {value: "不予处理", key: "DISREGARD"},
    {value: "重复需求", key: "REPEAT"}
];

var config_need_level = [
    {key: "0", value: "低"},
    {key: "1", value: "较低"},
    {key: "2", value: "中"},
    {key: "3", value: "较高"},
    {key: "4", value: "高"}
];

var config_need_objectives = [
    {key: "1", value: "提高用户体验"},
    {key: "2", value: "提高工作效率"},
    {key: "3", value: "降低成本"},
    {key: "4", value: "业务发展/收入增长"},
    {key: "5", value: "国家行业或法规/标准"},
    {key: "7", value: "预防事故"},
    {key: "6", value: "其他"}
];

var config_date_radios = [
    {key: 1, value: "1个月"},
    {key: 2, value: "2个月"},
    {key: 3, value: "3个月"},
    {key: 0, value: "更多"}
];

var config_feature_details_type = [
    {"key": "JUMP", "value": "展示页面", "crtname": "展示页面"},
    {"key": "UI", "value": "页面交互", "crtname": "页面交互"},
    {"key": "VALIDATE_INFO", "value": "信息校验", "crtname": "信息校验"},
    {"key": "FORM", "value": "信息提交", "crtname": "信息提交"},
    {"key": "SCAN", "value": "扫描枪扫描", "crtname": "扫描枪扫描"},
    {"key": "OPC_OPERATE", "value": "扫描枪操作", "crtname": "扫描枪操作"},
    {"key": "DISPOSE", "value": "后台处理", "crtname": "后台处理"},
    {"key": "ASYC_DISPOSE", "value": "异步后台处理", "crtname": "异步后台处理"},
    {"key": "TIME_DISPOSE", "value": "定时处理", "crtname": "定时处理"}
];

var config_area_list = [
    {"zone_alias": "gzidc", "zone_code": "uc.gzidc.area", "zone_title": "中国区", "crtname": "中国区", "areaName": "CN"},
    {"zone_alias": "usaws", "zone_code": "uc.usaws.area", "zone_title": "美国区", "crtname": "美国区", "areaName": "USA"},
    {"zone_alias": "euaws", "zone_code": "uc.euaws.area", "zone_title": "欧洲区", "crtname": "欧洲区", "areaName": "EU"},
    {"zone_alias": "auaws", "zone_code": "uc.auaws.area", "zone_title": "澳洲区", "crtname": "澳洲区", "areaName": "AU"}
];

var config_warehouse_list = [
    {"type": "CN", "zone_alias": "szx", "zone_code": "uc.gzidc.warehouse.szx", "zone_title": "深圳仓", "crtname": "深圳仓"},
    {"type": "CN", "zone_alias": "can", "zone_code": "uc.gzidc.warehouse.can", "zone_title": "广州仓", "crtname": "广州仓"},
    {"type": "CN", "zone_alias": "sha", "zone_code": "uc.gzidc.warehouse.sha", "zone_title": "上海仓", "crtname": "上海仓"},
    {"type": "CN", "zone_alias": "tao", "zone_code": "uc.gzidc.warehouse.tao", "zone_title": "青岛仓", "crtname": "青岛仓"},
    {"type": "CN", "zone_alias": "ngb", "zone_code": "uc.gzidc.warehouse.ngb", "zone_title": "宁波仓", "crtname": "宁波仓"},
    {"type": "CN", "zone_alias": "hkg", "zone_code": "uc.gzidc.warehouse.hkg", "zone_title": "香港仓", "crtname": "香港仓"},
    {"type": "USA", "zone_alias": "usla", "zone_code": "uc.usaws.warehouse.usla", "zone_title": "美西仓", "crtname": "美西仓"},
    {"type": "USA", "zone_alias": "usky", "zone_code": "uc.usaws.warehouse.usky", "zone_title": "美东仓", "crtname": "美东仓"},
    {"type": "USA", "zone_alias": "ustx", "zone_code": "uc.usaws.warehouse.ustx", "zone_title": "美三仓", "crtname": "美三仓"},
    {"type": "EU", "zone_alias": "ukls", "zone_code": "uc.euaws.warehouse.ukls", "zone_title": "英一存储仓", "crtname": "英一存储仓" },
    {"type": "EU", "zone_alias": "ukle", "zone_code": "uc.euaws.warehouse.ukle", "zone_title": "英国一仓", "crtname": "英国一仓"},
    {"type": "EU", "zone_alias": "ukma", "zone_code": "uc.euaws.warehouse.ukma", "zone_title": "英国二仓", "crtname": "英国二仓"},
    {"type": "EU", "zone_alias": "debre", "zone_code": "uc.euaws.warehouse.debre", "zone_title": "德国仓", "crtname": "德国仓"},
    {"type": "EU", "zone_alias": "bemo", "zone_code": "uc.euaws.warehouse.bemo", "zone_title": "比利时仓", "crtname": "比利时仓"},
    {"type": "EU", "zone_alias": "ukgf", "zone_code": "uc.euaws.warehouse.ukgf", "zone_title": "英国三仓", "crtname": "英国三仓"},
    {"type": "AU", "zone_alias": "ausyd", "zone_code": "uc.auaws.warehouse.ausyd", "zone_title": "澳洲仓", "crtname": "澳洲仓"},
    {"type": "AU", "zone_alias": "uc.auaws.warehouse.auss", "zone_code": "uc.auaws.warehouse.auss", "zone_title": "澳洲存储仓", "crtname": "澳洲存储仓"}
];
